package com.video.commons.sendaop;

import java.util.Map;

public abstract class ISocketSend {

    /**
     * 发送消息之前执行
     */
    protected void preMsg(String msgid){}

    public abstract Map<String, Object> sendMsg(Object... objs);

    /**
     * 发送消息之后执行
     */
    protected Object postMsg(String msgid, Object result){return result;}

}
